<template>
<h2>条件渲染</h2>
<div>
    <!-- <p v-if="count>0">count大于0</p>
    <p v-show="count>0">count大于0</p> -->
    <p v-if="count>0">count大于0</p>
    <p v-else-if="count==0">count等于0</p>
    <p v-else>错误</p>
</div>
</template>

<script setup lang="ts">
const count=0;

</script>